using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_UIEvent_Keyboard_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.UIEvent.Keyboard);
            args = new Type[]{};
            method = type.GetMethod("InfoCollection", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, InfoCollection_0);
            args = new Type[]{typeof(System.String), typeof(UnityEngine.TouchScreenKeyboardType), typeof(System.Boolean), typeof(System.Boolean), typeof(System.Int32)};
            method = type.GetMethod("OnInput", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, OnInput_1);
            args = new Type[]{};
            method = type.GetMethod("EndInput", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, EndInput_2);
            args = new Type[]{};
            method = type.GetMethod("get_targetDisplay", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_targetDisplay_3);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("set_targetDisplay", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_targetDisplay_4);
            args = new Type[]{};
            method = type.GetMethod("get_type", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_type_5);
            args = new Type[]{};
            method = type.GetMethod("get_selection", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_selection_6);
            args = new Type[]{typeof(UnityEngine.RangeInt)};
            method = type.GetMethod("set_selection", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_selection_7);
            args = new Type[]{};
            method = type.GetMethod("get_canSetSelection", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_canSetSelection_8);
            args = new Type[]{};
            method = type.GetMethod("get_active", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_active_9);
            args = new Type[]{typeof(System.Boolean)};
            method = type.GetMethod("set_active", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_active_10);
            args = new Type[]{};
            method = type.GetMethod("get_canGetSelection", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_canGetSelection_11);
            args = new Type[]{};
            method = type.GetMethod("get_status", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_status_12);
            args = new Type[]{typeof(UnityEngine.KeyCode)};
            method = type.GetMethod("GetKey", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetKey_13);
            args = new Type[]{typeof(UnityEngine.KeyCode)};
            method = type.GetMethod("GetKeyDown", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetKeyDown_14);
            args = new Type[]{};
            method = type.GetMethod("Nokey", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Nokey_15);
            args = new Type[]{typeof(UnityEngine.KeyCode)};
            method = type.GetMethod("GetKeyUp", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetKeyUp_16);

            field = type.GetField("KeyPress", flag);
            app.RegisterCLRFieldGetter(field, get_KeyPress_0);
            app.RegisterCLRFieldSetter(field, set_KeyPress_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_KeyPress_0, AssignFromStack_KeyPress_0);
            field = type.GetField("KeyDowns", flag);
            app.RegisterCLRFieldGetter(field, get_KeyDowns_1);
            app.RegisterCLRFieldSetter(field, set_KeyDowns_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_KeyDowns_1, AssignFromStack_KeyDowns_1);
            field = type.GetField("KeyUps", flag);
            app.RegisterCLRFieldGetter(field, get_KeyUps_2);
            app.RegisterCLRFieldSetter(field, set_KeyUps_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_KeyUps_2, AssignFromStack_KeyUps_2);
            field = type.GetField("InputString", flag);
            app.RegisterCLRFieldGetter(field, get_InputString_3);
            app.RegisterCLRFieldSetter(field, set_InputString_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_InputString_3, AssignFromStack_InputString_3);
            field = type.GetField("TempString", flag);
            app.RegisterCLRFieldGetter(field, get_TempString_4);
            app.RegisterCLRFieldSetter(field, set_TempString_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_TempString_4, AssignFromStack_TempString_4);
            field = type.GetField("CompositionString", flag);
            app.RegisterCLRFieldGetter(field, get_CompositionString_5);
            app.RegisterCLRFieldSetter(field, set_CompositionString_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_CompositionString_5, AssignFromStack_CompositionString_5);
            field = type.GetField("TempStringChanged", flag);
            app.RegisterCLRFieldGetter(field, get_TempStringChanged_6);
            app.RegisterCLRFieldSetter(field, set_TempStringChanged_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_TempStringChanged_6, AssignFromStack_TempStringChanged_6);
            field = type.GetField("CorrectionInput", flag);
            app.RegisterCLRFieldGetter(field, get_CorrectionInput_7);
            app.RegisterCLRFieldSetter(field, set_CorrectionInput_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_CorrectionInput_7, AssignFromStack_CorrectionInput_7);
            field = type.GetField("TouchString", flag);
            app.RegisterCLRFieldGetter(field, get_TouchString_8);
            app.RegisterCLRFieldSetter(field, set_TouchString_8);
            app.RegisterCLRFieldBinding(field, CopyToStack_TouchString_8, AssignFromStack_TouchString_8);
            field = type.GetField("CorrectionTouch", flag);
            app.RegisterCLRFieldGetter(field, get_CorrectionTouch_9);
            app.RegisterCLRFieldSetter(field, set_CorrectionTouch_9);
            app.RegisterCLRFieldBinding(field, CopyToStack_CorrectionTouch_9, AssignFromStack_CorrectionTouch_9);
            field = type.GetField("InputChanged", flag);
            app.RegisterCLRFieldGetter(field, get_InputChanged_10);
            app.RegisterCLRFieldSetter(field, set_InputChanged_10);
            app.RegisterCLRFieldBinding(field, CopyToStack_InputChanged_10, AssignFromStack_InputChanged_10);
            field = type.GetField("_touch", flag);
            app.RegisterCLRFieldGetter(field, get__touch_11);
            app.RegisterCLRFieldSetter(field, set__touch_11);
            app.RegisterCLRFieldBinding(field, CopyToStack__touch_11, AssignFromStack__touch_11);
            field = type.GetField("systemCopyBuffer", flag);
            app.RegisterCLRFieldGetter(field, get_systemCopyBuffer_12);
            app.RegisterCLRFieldSetter(field, set_systemCopyBuffer_12);
            app.RegisterCLRFieldBinding(field, CopyToStack_systemCopyBuffer_12, AssignFromStack_systemCopyBuffer_12);
            field = type.GetField("CursorPos", flag);
            app.RegisterCLRFieldGetter(field, get_CursorPos_13);
            app.RegisterCLRFieldSetter(field, set_CursorPos_13);
            app.RegisterCLRFieldBinding(field, CopyToStack_CursorPos_13, AssignFromStack_CursorPos_13);


            app.RegisterCLRCreateDefaultInstance(type, () => new huqiang.UIEvent.Keyboard());
            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.UIEvent.Keyboard[s]);

            args = new Type[]{};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* InfoCollection_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            huqiang.UIEvent.Keyboard.InfoCollection();

            return __ret;
        }

        static StackObject* OnInput_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 5);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @limit = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Boolean @passward = ptr_of_this_method->Value == 1;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            System.Boolean @multiLine = ptr_of_this_method->Value == 1;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            UnityEngine.TouchScreenKeyboardType @type = (UnityEngine.TouchScreenKeyboardType)typeof(UnityEngine.TouchScreenKeyboardType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
            System.String @str = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);


            huqiang.UIEvent.Keyboard.OnInput(@str, @type, @multiLine, @passward, @limit);

            return __ret;
        }

        static StackObject* EndInput_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            huqiang.UIEvent.Keyboard.EndInput();

            return __ret;
        }

        static StackObject* get_targetDisplay_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.targetDisplay;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* set_targetDisplay_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @value = ptr_of_this_method->Value;


            huqiang.UIEvent.Keyboard.targetDisplay = value;

            return __ret;
        }

        static StackObject* get_type_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.type;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* get_selection_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.selection;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_selection_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.RangeInt @value = (UnityEngine.RangeInt)typeof(UnityEngine.RangeInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);


            huqiang.UIEvent.Keyboard.selection = value;

            return __ret;
        }

        static StackObject* get_canSetSelection_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.canSetSelection;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* get_active_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.active;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* set_active_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Boolean @value = ptr_of_this_method->Value == 1;


            huqiang.UIEvent.Keyboard.active = value;

            return __ret;
        }

        static StackObject* get_canGetSelection_11(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.canGetSelection;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* get_status_12(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.status;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* GetKey_13(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.KeyCode @key = (UnityEngine.KeyCode)typeof(UnityEngine.KeyCode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = huqiang.UIEvent.Keyboard.GetKey(@key);

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* GetKeyDown_14(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.KeyCode @key = (UnityEngine.KeyCode)typeof(UnityEngine.KeyCode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = huqiang.UIEvent.Keyboard.GetKeyDown(@key);

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* Nokey_15(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            var result_of_this_method = huqiang.UIEvent.Keyboard.Nokey();

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* GetKeyUp_16(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.KeyCode @key = (UnityEngine.KeyCode)typeof(UnityEngine.KeyCode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = huqiang.UIEvent.Keyboard.GetKeyUp(@key);

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }


        static object get_KeyPress_0(ref object o)
        {
            return huqiang.UIEvent.Keyboard.KeyPress;
        }

        static StackObject* CopyToStack_KeyPress_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.KeyPress;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_KeyPress_0(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.KeyPress = (System.Collections.Generic.List<UnityEngine.KeyCode>)v;
        }

        static StackObject* AssignFromStack_KeyPress_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<UnityEngine.KeyCode> @KeyPress = (System.Collections.Generic.List<UnityEngine.KeyCode>)typeof(System.Collections.Generic.List<UnityEngine.KeyCode>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.KeyPress = @KeyPress;
            return ptr_of_this_method;
        }

        static object get_KeyDowns_1(ref object o)
        {
            return huqiang.UIEvent.Keyboard.KeyDowns;
        }

        static StackObject* CopyToStack_KeyDowns_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.KeyDowns;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_KeyDowns_1(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.KeyDowns = (System.Collections.Generic.List<UnityEngine.KeyCode>)v;
        }

        static StackObject* AssignFromStack_KeyDowns_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<UnityEngine.KeyCode> @KeyDowns = (System.Collections.Generic.List<UnityEngine.KeyCode>)typeof(System.Collections.Generic.List<UnityEngine.KeyCode>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.KeyDowns = @KeyDowns;
            return ptr_of_this_method;
        }

        static object get_KeyUps_2(ref object o)
        {
            return huqiang.UIEvent.Keyboard.KeyUps;
        }

        static StackObject* CopyToStack_KeyUps_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.KeyUps;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_KeyUps_2(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.KeyUps = (System.Collections.Generic.List<UnityEngine.KeyCode>)v;
        }

        static StackObject* AssignFromStack_KeyUps_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<UnityEngine.KeyCode> @KeyUps = (System.Collections.Generic.List<UnityEngine.KeyCode>)typeof(System.Collections.Generic.List<UnityEngine.KeyCode>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.KeyUps = @KeyUps;
            return ptr_of_this_method;
        }

        static object get_InputString_3(ref object o)
        {
            return huqiang.UIEvent.Keyboard.InputString;
        }

        static StackObject* CopyToStack_InputString_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.InputString;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_InputString_3(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.InputString = (System.String)v;
        }

        static StackObject* AssignFromStack_InputString_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @InputString = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.InputString = @InputString;
            return ptr_of_this_method;
        }

        static object get_TempString_4(ref object o)
        {
            return huqiang.UIEvent.Keyboard.TempString;
        }

        static StackObject* CopyToStack_TempString_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.TempString;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_TempString_4(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.TempString = (System.String)v;
        }

        static StackObject* AssignFromStack_TempString_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @TempString = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.TempString = @TempString;
            return ptr_of_this_method;
        }

        static object get_CompositionString_5(ref object o)
        {
            return huqiang.UIEvent.Keyboard.CompositionString;
        }

        static StackObject* CopyToStack_CompositionString_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.CompositionString;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_CompositionString_5(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.CompositionString = (System.String)v;
        }

        static StackObject* AssignFromStack_CompositionString_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @CompositionString = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.CompositionString = @CompositionString;
            return ptr_of_this_method;
        }

        static object get_TempStringChanged_6(ref object o)
        {
            return huqiang.UIEvent.Keyboard.TempStringChanged;
        }

        static StackObject* CopyToStack_TempStringChanged_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.TempStringChanged;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_TempStringChanged_6(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.TempStringChanged = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_TempStringChanged_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @TempStringChanged = ptr_of_this_method->Value == 1;
            huqiang.UIEvent.Keyboard.TempStringChanged = @TempStringChanged;
            return ptr_of_this_method;
        }

        static object get_CorrectionInput_7(ref object o)
        {
            return huqiang.UIEvent.Keyboard.CorrectionInput;
        }

        static StackObject* CopyToStack_CorrectionInput_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.CorrectionInput;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_CorrectionInput_7(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.CorrectionInput = (System.String)v;
        }

        static StackObject* AssignFromStack_CorrectionInput_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @CorrectionInput = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.CorrectionInput = @CorrectionInput;
            return ptr_of_this_method;
        }

        static object get_TouchString_8(ref object o)
        {
            return huqiang.UIEvent.Keyboard.TouchString;
        }

        static StackObject* CopyToStack_TouchString_8(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.TouchString;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_TouchString_8(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.TouchString = (System.String)v;
        }

        static StackObject* AssignFromStack_TouchString_8(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @TouchString = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.TouchString = @TouchString;
            return ptr_of_this_method;
        }

        static object get_CorrectionTouch_9(ref object o)
        {
            return huqiang.UIEvent.Keyboard.CorrectionTouch;
        }

        static StackObject* CopyToStack_CorrectionTouch_9(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.CorrectionTouch;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_CorrectionTouch_9(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.CorrectionTouch = (System.String)v;
        }

        static StackObject* AssignFromStack_CorrectionTouch_9(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @CorrectionTouch = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.CorrectionTouch = @CorrectionTouch;
            return ptr_of_this_method;
        }

        static object get_InputChanged_10(ref object o)
        {
            return huqiang.UIEvent.Keyboard.InputChanged;
        }

        static StackObject* CopyToStack_InputChanged_10(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.InputChanged;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_InputChanged_10(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.InputChanged = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_InputChanged_10(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @InputChanged = ptr_of_this_method->Value == 1;
            huqiang.UIEvent.Keyboard.InputChanged = @InputChanged;
            return ptr_of_this_method;
        }

        static object get__touch_11(ref object o)
        {
            return huqiang.UIEvent.Keyboard._touch;
        }

        static StackObject* CopyToStack__touch_11(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard._touch;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set__touch_11(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard._touch = (System.Boolean)v;
        }

        static StackObject* AssignFromStack__touch_11(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @_touch = ptr_of_this_method->Value == 1;
            huqiang.UIEvent.Keyboard._touch = @_touch;
            return ptr_of_this_method;
        }

        static object get_systemCopyBuffer_12(ref object o)
        {
            return huqiang.UIEvent.Keyboard.systemCopyBuffer;
        }

        static StackObject* CopyToStack_systemCopyBuffer_12(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.systemCopyBuffer;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_systemCopyBuffer_12(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.systemCopyBuffer = (System.String)v;
        }

        static StackObject* AssignFromStack_systemCopyBuffer_12(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @systemCopyBuffer = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIEvent.Keyboard.systemCopyBuffer = @systemCopyBuffer;
            return ptr_of_this_method;
        }

        static object get_CursorPos_13(ref object o)
        {
            return huqiang.UIEvent.Keyboard.CursorPos;
        }

        static StackObject* CopyToStack_CursorPos_13(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIEvent.Keyboard.CursorPos;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_CursorPos_13(ref object o, object v)
        {
            huqiang.UIEvent.Keyboard.CursorPos = (UnityEngine.Vector2)v;
        }

        static StackObject* AssignFromStack_CursorPos_13(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Vector2 @CursorPos = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            huqiang.UIEvent.Keyboard.CursorPos = @CursorPos;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new huqiang.UIEvent.Keyboard();

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
